package cv.gzd.robot.service.impl;

import cv.gzd.robot.mapper.AuthorizationDao;
import cv.gzd.robot.pojo.Authorization;
import cv.gzd.robot.service.AuthorizationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: Jun
 * @Date: 2018/8/15 21:50
 */
@Service
public class AuthorizationServiceImpl implements AuthorizationService {
    @Autowired
    private AuthorizationDao authorizationDao;
    @Override
    public List<Authorization> selectAuthorizationByCode(String code) {
        return authorizationDao.selectAuthorizationByCode(code);
    }
}
